<?php 
// +----------------------------------------------------------------------
// | RXThinkCMF框架 [ RXThinkCMF ]
// +----------------------------------------------------------------------
// | 版权所有 2017~2020 南京RXThinkCMF研发中心
// +----------------------------------------------------------------------
// | 官方网站: http://www.rxthink.cn
// +----------------------------------------------------------------------
// | Author: 牧羊人 <1175401194@qq.com>
// +----------------------------------------------------------------------

namespace app\admin\service;


use app\admin\model\OfContractAnnex;
use app\common\service\BaseService;

/**
 * 附件管理-服务类
 * @author 牧羊人
 * @since: 2021/12/21
 * Class OfContractAnnexService
 * @package app\admin\service
 */
class OfContractAnnexService extends BaseService
{
    /**
     * 构造函数
     * LevelService constructor.
     */
    public function __construct()
    {
        $this->model = new OfContractAnnex();
    }
	
	/**
     * 获取数据列表
     * @return array
     * @since 2021/12/21
     * @author 牧羊人
     */
    public function getList()
    {
        $param = request()->param();

        // 查询条件
        $map = [];
		
        // 身份证号码
        $id_card = isset($param['id_card']) ? trim($param['id_card']) : '';
        if ($id_card) {
            $map[] = ['id_card', 'like', "%{$id_card}%"];
        }

        return parent::getList($map); // TODO: Change the autogenerated stub
    }


                    
}